/*
 * Project: com.mmall.user.api
 *
 * File Created at 2019-10-16
 *
 * Copyright 2019 CMCC Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * ZYHY Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license.
 */
package com.mmall.user.api.service;

import com.common.framework.bo.TokenBO;
import com.mmall.user.api.bo.UserBO;

/**
 * @author jianghucoding
 * @date 2019-10-16 22:00
 * @Desc
 */
public interface UserService {

    UserBO getUser(Long id);

    TokenBO createUser(Long mobile, String authCode);

    String sendAuthCode(Long mobile);

    TokenBO login(Long mobile, String authCode);
}
